<template>
  <div class="home">
    <router-view class="page"></router-view>
    <van-tabbar route active-color="#ee0a24">
      <van-tabbar-item icon="wap-home-o" to="/index">首页</van-tabbar-item>
      <van-tabbar-item icon="apps-o">分类</van-tabbar-item>
      <van-tabbar-item  icon="shopping-cart-o" to="/cart">
        购物车
      </van-tabbar-item>
      <van-tabbar-item icon="user-o" to="/profile">个人</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>

export default {
  name: 'Home'
}
</script>
<style lang="scss" scoped>
.home {
  height: 100%;
}
</style>
